package com.hanxy.admin.model.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: zbb
 * @Description:
 * @Version: 1.0
 * @Create: 2021-06-07
 * @Coyright: 装保保
 */
@Data
@NoArgsConstructor
@ApiModel(value = "BasePageModel对象")
public class BasePageModel {

    @ApiModelProperty(value = "id", dataType = "int")
    private Integer id;

    //    @NotNull(message = "页数不能为空")
    @ApiModelProperty(value = "页数", dataType = "int")
    private Integer pageNo = 1;

    //    @NotNull(message = "每页条数不能为空")
    @ApiModelProperty(value = "每页条数", dataType = "int")
    private Integer pageSize = 50;

    @ApiModelProperty(value = "排序", dataType = "string")
    private String orderBy;

}
